let props = {
  enableAutoOrder: '',
  moduleConfig: {
    commonItemProps: {
      categoryListApiQuery: {
        activityId: 0,
        poolId: 0
      }
    },
    commonImageProps: {
      api: "//resource.taobao.com/resource/query?pageSize=20&current=1&resourceType=Pic&activityId=0"
    },
    commonVideoProps: {
      api: "//scenes.taobao.com//material/getMaterial.json?pageSize=20&vf=p&producerSource=1",
      videoCenterUrl: "/material/mine/video"
    }
  },
  moduleInfos: { },
  canvasUrl: '',
  className: "creator-no-label creator-struct-canvas",
  sidebarBlockList:[],
  label: "",
  env: "online",
  value: [ ],
}

let sidebarBlockList = [
  {
    blockName: "Pic",
    blockType: "Component",
    display: true,
    icon: "//img.alicdn.com/tfs/TB13OjRa.gQMeJjy0FiXXXhqXXa-48-48.png",
    title: "图片",
    moduleInfo: {
      dataSchema: {
        title: "通用图片模块",
        type: "object",
        properties: {
          images: {
            ui:{bridge: "getConfig:commonImageProps"},
            title: "图像资源 key",
            type: "array",
            items: {
              allOf: [{ __ref: "contentDetail/contentPicture"}],
              type: "object",
              title: "单个图片描述",
              properties: {
                picWidth: {
                    type: "integer",
                    title: "图像原始宽度"
                  },
                  picUrl: {
                    format: "CDN_PIC",
                    type: "string",
                    title: "资源URL"
                  },
                  picDesc: {
                    type: "string",
                    title: "图像的描述"
                  },
                  picHeight: {
                    type: "integer",
                    title: "图像原始高度"
                  },
                  picClickUrl: {
                    type: "string",
                    title: "图片点击调整地址"
                  },
                  picName: {
                    type: "string",
                    title: "图像名称"
                  }
              }
            }
          }
        }
      },
      componentId: 48574,
      data: {
        images: [{
          picWidth: 750,
          picUrl: "https://img.alicdn.com/tfs/TB1q2SYcMMPMeJjy1XdXXasrXXa-991-800.png",
          picDesc: "description",
          picHeight: 400,
          picClickUrl: "//m.taobao.com",
          picName: "name for picture"
        }]
      },
      fullName: "we-mod/picture",
      attrsSchema: {
        title: "picture属性schema",
        type: "object",
        properties: {
          disableAutoRequest: {
            default: "false",
            type: "boolean",
            title: "是否禁用默认请求"
          }
        }
      },
      rule: {
        dragable: true,
        enable: true,
        replaceable: true,
        deletable: true
      },
      materialId: "UPX-48574-20014922817",
      title: "图片模块",
      version: "0.0.11",
      attrs: { },
      coverUrl: "//img.alicdn.com/tfs/TB1c5iWcMMPMeJjy1XdXXasrXXa-248-200.png",
      name: "picture",
      id: 20014922817
    },
  }, {
    blockName: "Paragraph",
    blockType: "Component",
    display: false,
    icon: "//img.alicdn.com/tfs/TB1Q4jRa.gQMeJjy0FfXXbddXXa-48-48.png",
    title: "文本",
    moduleInfo: {
      dataSchema: {
        title: "文本模块",
        type: "object",
        properties: {
          text: {
            ui:{widget: "textarea"},
            type: "string",
            title: "正文内容"
          }
        }
      },
      componentId: 48581,
      data: {
        text: "请输入段落文字"
      },
      fullName: "we-mod/paragraph",
      attrsSchema: { },
      rule: {
        dragable: true,
        enable: true,
        replaceable: true,
        deletable: true
      },
      materialId: "UPX-48581-20014922818",
      title: "结构化发布纯文本模块",
      version: "0.0.8",
      attrs: { },
      coverUrl: "http://g01.alibaba-inc.com/tfscom/TB1_CTZcMMPMeJjy1XcXXXpppXa.tfsprivate.png",
      name: "paragraph",
      id: 20014922818
    },
  }, {
    blockName: "CustomParagraph",
    blockType: "Api",
    display: true,
    icon: "//img.alicdn.com/tfs/TB1Q4jRa.gQMeJjy0FfXXbddXXa-48-48.png",
    title: "自定义段落",
    props: {
      api: "//resource.taobao.com/comresource/query?collectionId=100000000005&blockName=blockName:CustomParagraph"
    }
  }, {
    blockName: "Separator",
    blockType: "Api",
    display: true,
    icon: "//img.alicdn.com/tfs/TB1QiLPa3MPMeJjy1XdXXasrXXa-48-48.png",
    title: "分隔符",
    props: {
      api: "//resource.taobao.com/comresource/query?collectionId=100000000005&blockName=blockName:Separator"
    }
  }
]
